package com.itheima.jobs;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itheima.service.OrdersettingService;

import org.springframework.stereotype.Component;

@Component
public class ClearOrderSetting {

    @Reference
    OrdersettingService ordersettingService;

    public void clearOrderSetting(){
        try {
            ordersettingService.clear();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
